package com.javasea.websocket.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @author: Ethan_Fung
 * @description: 用户Session会话
 * @date: 2020/3/18 17:15
 * @version: 1.0
 **/
@Data
public class SocketUser implements Serializable {


    private static final long serialVersionUID = 1L;

    //此用户信息
    private String userId;
    private String userName;
    private String tenantId;

    public SocketUser() {
    }

    public SocketUser(String userId, String userName, String tenantId) {
        this.userId = userId;
        this.userName = userName;
        this.tenantId = tenantId;
    }


}
